Macromedia MAX 2003 Topic Center

Macromedia Central and Mobile: New Ways to Connect

Craig Goodman

Craig Goodman

www.macromedia.com/devnet/

Until now, most Flash developers have been working for an audience who uses standard web browsers on a desktop or laptop client. At MAX 2003, the Macromedia Central and Mobile and Devices developer tracks are giving developers ways to break into new modes of content delivery.

Macromedia Central: Moving Rich Internet Applications to the Desktop

Macromedia Central offers you a framework within which you can play (and sell) applications—and you can build them using your existing Flash knowledge. "Central moves Rich Internet Applications out of the browser and onto the desktop," said Dave Gruber, Senior Product Manager for Macromedia Central. For users, the experience of running an application is easier than ever. Here's the straightforward process users follow to install and run Central apps:

  1. A user sees a promo unit (called an install badge) for a new Central application on a website and clicks it. (See Figure 1.)
  2. Macromedia Central installs on the user's machine.
  3. The user can install additional applications from within Central using the Application Finder.

Figure 1: Install badge for the MAX Central Guide application. Click this badge to install both the app and Central.

For developers, Central makes developing Flash apps more fun (and possibly more profitable) than ever before. Here's why:

  • You can share them. Central gives you easy access to distribute your applications to a wide audience.
  • You have easy deployment. Users install Central (for free) when they click to install any Central application. This unified installation process for applications and the Central runtime is seamless for users.

    If you want to sell your applications, you can take advantage of integrated Try/Buy functionality. (Find out more about the Central license programs.) Also, Central provides auto-update technology to save you hassles in the future.

  • You create an excellent user experience. Central bridges the Internet/desktop experience in another way: superb usability for the occasionally-connected user. Developers can design Central applications to save and cache data for offline use. For example, if you download the MAX guide, Central caches your map and schedule locally, so you can consult it while you run around, unconnected, at the conference.
  • You get quick gratification. "You focus on the apps," says Gruber. "We focus on the distribution and sales." As a developer, you can display install badges for your Central application on sites where you want to promote it. Also, the Application Finder in Central helps you spread the word and get more downloads of your app distributed by promoting it to users within the application interface. All Central users can see links to your application when you publish and register it.

Central Software Development Kit Now Available

Macromedia also announced the Central Software Development Kit (SDK). Downloading the Central SDK is your first step to building a Central application, so get it now:

Download the Macromedia Central Software Development Kit ›

This kit contains components, tools, utilities, documentation, and other resources you need to develop Central applications. For developers, the release of the SDK is the moment that you've really been waiting for—in some ways, the SDK is Central. This is because Central is really just a convenient, highly usable framework that holds applications that you plan, design, and build.

Cool Central Sample Applications

There are several cool new Central applications available in conjunction with the MAX conference:

MAX 2003 Conference Guide

This application is built specifically for Central attendees, but anyone can try it out. Using the conference guide, you can download a session schedule and a conference map. You can sort sessions by time, track, or presenter and, if you like, set notifications to alert you when a session you want to attend is about to occur. Best of all, you can run this locally, so if you're checking out exhibits and sessions in the Salt Palace Conference Center and you're out of wireless range, you can still check the location of your next session on the conference center map.

Install the MAX 2003 Conference Guide now ›

Active Content Resources

If you've visited the Active Content Developer Center, you're familiar with the resources Macromedia has placed there to help developers prepare for announced changes to Microsoft Internet Explorer. This new Central app gives you another way to stay on top of the latest news on the browser changes.

Install the Active Content Resources Central Application now ›

Central Freeware Finder

The Central Freeware Finder informs you when new, free Central applications launch. Once installed, it appears with other Central applications in the Central bar and keeps you on top of all the currently registered free-of-charge Central apps.

Install the Central Freeware Finder now ›

Learning Central: What's Up at MAX

There have been several blockbuster sessions at MAX with great information for developers. Here are some of the highlights:

Creating Your First Central Application

Phillip Kerman's session, "Your First Central Application" gave aspiring Central developers a great head start. (However, if you weren't able to get to MAX, the session has an accompanying tutorial on the Central Developer Center.)

Phillip Kerman helping session students.

Figure 2: Phillip Kerman helping session students.

In his session (and in his tutorial), Phillip demonstrated how the basic parts of Central—the application, the pod, the agent—work together to create a full application. These three parts, combined with other elements that provide installation and data sharing, work together to provide an application environment with a main application interface, a small control console or pod that can run in a console window when the main application is not active, and an agent that does the behind-the-scenes work of updating data.

Deconstructing a Macromedia Central Application

On the more advanced side, Danny Dura got into the nitty-gritty of a sample Central app, showing how he built the Active Content Resources application for Macromedia. "You can save a lot of time in the planning stages," said Dura. "Even if you are the only one concerned with the application, you need to first mock up and spec the features and the layout."

Dura showed how to architect the application using screens. He treated each screen as a component, and used the Accordian tab component to set up navigation between them. Finally, he built an application class to act as a control, managing traffic between the agent (Model), the Central shell, and the individual screens. See figure 2 for a diagram of how he built this application.

Central Application Architecture

In his Central architecture session, Michael Williams and Ethan Malasky explained how Central differs from web browsers in that it introduces the idea of the "stateful" client. This means that it can function and display and modify data locally, regardless of server state.

The service-based architecture of Macromedia Central keeps the interfaces that you design abstracted from the data model. "Central complies beautifully with known MVC design patterns," said Williams. "The agent hosts the controller and the data model, while the application and pods host the views."

Diagram of MVC architecture applied to Central

Figure 3: Diagram of MVC architecture applied to Central

Another interesting development in the Central SDK is the new component set. The Central components mimic the functionality of Flash MX 2004 components, but they are optimized for Central. One of the very exciting things about Central is that when users install the application, they download all the components. Central keeps those components available on the client and reuses them; the user never has to download those same components again.

Best Practices for Central Application Interface Design

Kevin Lynch and Josh Ulm discussed how to make usable (and beautiful) Central applications. "How should users be presented with information," asked Lynch, "and how should they interact with it?" He described how not all information is equal; sometimes you want to actively read or study it, at other times, you want to save it for later.

Josh Ulm explaining Central application interface design

Figure 4: Josh Ulm explaining Central application interface design

Macromedia Central interfaces incorporate tabs, panes, and pods to handle this information hierarchy.

  • Tabs organize distinct high-level tasks, such as searching for or reading information. An example of a typical tab set would be an application landing page (At a Glance), a "find" tab for searching, and a "favorites" tab to save items to come back for later.
  • Panes use a top-down approach to "coaching" users through the application. A common top/bottom division for panes puts a search pane on top, and a pane displaying the results below.
  • Pods offer a framework to let customers dig deeper into information. Typical pods hold text details, photos, or video that adds more information that is interesting, but not necessarily essential to the user.
Movie Finder application showing the Find a Movie tab, the top and bottom panes for searching and reading about movies, and the Movie Photos and Theater Details panes

Figure 5: Movie Finder application showing the Find a Movie tab, the top and bottom panes for searching and reading about movies, and the Movie Photos and Theater Details panes

(+) View larger

Another type of pod in Central is a Console pod. The Console can run in a small window, keeping users informed with notifications of new content in their installed Central applications. This reminder position saves essential screen real estate for content that the user is actively searching for.

Using the AOL Presence API for Macromedia Central

During the Day 1 keynote, Macromedia announced that AOL is opening up its AIM and ICQ instant messaging networks to Central developers. Mike Chambers' session on creating multi-user applications focused entirely on the new AOL IM Software Development Kit (SDK). Mike introduced Ray Ryan from AOL, who is the engineer creating the AOL SDK. Ray showed a number of cool demos of functioning applications (including an AIM client within Central), and then spent some time going over the code necessary to actually use the API.

Central Developer Center

There's a lot of great new content on the Central Developer Center to get you going. Here's rundown of the some of the new articles that can help get you up to speed.

Central Development Quick Start Guide

Mike Chambers has published a new Central Development Quick Start Guide on the Macromedia Developer Center. This guides you through the critical steps in a "no-frills" way. Mike guides you through setting up your development environment, developing your application, installing it in Central, and finally, testing and debugging it. If you're an avid reader of the Developer Center, you may have already seen this article, however, it's a necessity for those of you thinking about getting into Central development.

Creating Your First Macromedia Central Application

Phillip Kerman shows you how to build what he calls the "simplest Central app in history." In his usual, easy-to-understand style, Phillip steps you through the process of building a Central application from the ground up—from creating the FLA files and placing the necessary ActionScript to deploying the app for users.

Central Developer's Playground

Developers got together to work on Central apps (and to consume beer and pizza) at the Central developer's playground. Developers worked en masse to create new Central applications and to port current Flash apps to Central. This packed event gave Central developers and team members a chance to share visions for future applications and to have some fun and celebrate the Central launch.

Mike Chambers and developers at the Central Developer's Playground

Figure 6: Mike Chambers and developers at the Central Developer's Playground

Mobile and Devices Moving Onward

If you've never developed a Flash application for a mobile phone or a PDA, you may wonder why people are so excited about it. "800 million to one billion users use mobile devices," said Laurent Sellier, Senior Product Manager for Mobile and Devices, in his presentation, "Introducing Mobile and Devices." The biggest opportunity in terms of numbers is the cell phone market – over 800 million people have them.

Content Development Kits

Macromedia offers content development kits to get you up and running if you want to create content for various mobile platforms. The central source for downloading these CDKs is the Mobile and Devices Developer Center. Check there for the latest platforms and kits.

There are CDKs for many devices. Optimized versions of Flash Player 5 and 6 run on Pocket PC. Other devices such as Nokia 9210, Motorola A920, Sony CLIÉ run versions of Flash Player and have accompanying content development kits.

Flash Lite

A profile is a "small rendering engine for Flash that fits with a very small footprint on a device," said Sellier. Profiles are specifically tailored to their host devices, and they often come preinstalled. Flash Lite is a profile that runs on NTT's DoCoMo phone (i-mode). The profile is very lightweight, so it provides quick playback on these devices. Tucker Snedeker, Mobile and Devices Technical Marketing Manager, showed several cool apps running on a DoCoMo phone, including cartoons, a movie trailer for Charlie's Angels, and interactive weather and traffic maps for Japanese users.

FlashCast

While Flash Lite is an engine that runs Flash (kind of like a slimmed-down Flash Player), FlashCast is a template-based framework that hosts information channels. Some examples of FlashCast channels are sports, stock, weather, and other data-driven information feeds. The FlashCast channels pull in data from a network to "rehydrate" themselves, Sellier said.

Leapster

From singing frogs to a racecar game, the new Flash-based content playing on LeapFrog's Leapster device is fine-tuned to keep young children entertained. Leapster uses a licensed version of Flash to present rich, animated content in the form of cartoons, games, and other learning-related content for kids.

Learning about Mobile at MAX

There were some extremely cool sessions on mobile at the MAX conference. Here are some of the highlights:

Building a True Experience for Your Mobile Customers

There are a few new tricks that Flash developers who are new to designing interfaces for devices need to learn to create applications that work well for users. In his session, "Building a True Experience for Your Mobile Customers," Nader Nejat guided developers in creating effective Flash interfaces on devices. He focused on not only building a great experience for clients, but on creating a great mobile development experience for the designer and developer.

Nejat showed several preproduction tips, such as prototyping, separating the concept from the code (or the application code from the interface), and using the Flash MX Professional 2004 templates. (See Figure 4.) These templates give you a great way to see what an application will look like. Also, they preset your publishing settings so you can target the correct player or profile for a particular device.

Template for the Nokia 9200  in Flash MX 2004 Pro

Figure 7: Template for the Nokia 9200 in Flash MX 2004 Pro

Nejat also talked about overcoming the main battles in developing for mobile, such as increasing performance, minimizing memory, and keeping file size small. For example, he mentioned that you should divide your movies into multiple movie clips, so if your movie becomes too big, you can externalize content from some of those movie clips and load it only when needed. He also gave 10 ways to maximize screen real estate. (Keep in mind that some of these device interfaces are the size of a large stamp.) Stay tuned for an upcoming article in the Mobile and Devices Developer Center to get these inside tips.

Finally, Nejat showed a ton of online resources for mobile and device developers. These will also be coming soon to the Mobile and Devices Developer Center.

Developing PDA-based Applications with Macromedia Flash

Bill Perry showed developers how to build for various Personal Digital Assistants (PDAs). He concentrated on two of the most prevalent PDAs that also play Flash content: the Pocket PC and the Sony CLIÉ.

Bill started out with an overview of PDAs that currently support Flash, including various flavors of Pocket PC and Sony Clie devices. Both of these devices can play Flash content, however, they support different versions of the Player. (The CLIÉ supports Flash Player 5 and Pocket PC supports Flash Player 6.)

"Develop once, deploy anywhere," said Perry. "With devices, this is a common theme, because of the ubiquity of Flash Player." You can repurpose existing Flash content, and reuse assets. Devices let you take your content with you, and you can develop new areas for potential clients. For example, if someone asks you "what do you do?" you can instantly pull out your Pocket PC out and show him. "Showing someone Flash on a device definitely adds to your credibility as a developer," said Perry. "It shows that your aware of emerging technologies, and gives a competitive advantage to the client."

Bill talked about how to make your PDA development go smoothly by preparing with four basic steps:

  1. Research the hardware and software. Make sure that it's feasible to provide what the client wants in an application.
  2. Gather the content. Get photographs, images, text, sound, and other media to use in your application.
  3. Develop the content. This involves using Flash MX Professional 2004 to realize the client's needs and fulfill your vision for the project.
  4. Test and deploy the application. You need to test on the target device with the final configuration, deploy the content, and ensure that the client is happy with it.

When approaching a mobile project (and any project, for that matter), Perry advises that you "underpromise, and overdeliver." Make sure to manage your clients' expectations by keeping them involved throughout all steps of the process.


About the author

Craig Goodman is the Managing Editor of the Developer Center. He also serves as the lead editor for the Macromedia Flash, Flash Communication Server, Flash Remoting, and Mobile and Devices Developer Centers, as well as working on the macromedia.com Support Centers. Craig joined Macromedia in 1995. Before the creation of the Macromedia Developer Center, he had various roles, including managing web support, supervising product technical support for Macromedia Flash and Dreamweaver, and providing one-to-one technical support for Director and Extreme 3D. Craig also curates the video and film series at New Langton Arts in San Francisco, and is a member of the sit-down keyboard ensemble, the Helen Lundy Trio.